<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
	
    <head th:include="/common/header :: source"></head>
	<body>
	<div th:include="/common/header :: header"></div>
	
    <!-- 底部表格 -->
	<div  align="center">
		<div class="panel panel-default" style="width:800px;" align="left">
	      <div class="panel-heading">
	        <h3 class="panel-title">添加商品</h3>
	      </div>
	      <div class="panel-body">
	        <form th:action="@{/admin/product/addProduct}" id="dataForm" th:method="post" onsubmit="return check(this)">
				<div class="form-group">
				  <label for="exampleInputEmail1">商品名称</label>
				  <input type="text" style="width:400px;" class="form-control" name="name" placeholder="商品名称">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">商品图片</label>
				  <input type="text" style="width:400px;" class="form-control" name="img" placeholder="商品图片">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">sku名称</label>
				  <input type="text" style="width:400px;" class="form-control" name="sku" placeholder="sku名称">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">原价</label>
				  <input type="text" style="width:400px;" class="form-control" name="relPrice" placeholder="原价">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">售卖价</label>
				  <input type="text" style="width:400px;" class="form-control" name="salPrice" placeholder="售卖价">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">商品分类ID</label>
				  <input type="text" style="width:400px;" class="form-control" name="classId" placeholder="商品分类ID">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">商品类型</label>
				  <input type="text" style="width:400px;" class="form-control" name="productType" placeholder="商品类型">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">活动名称</label>
				  <input type="text" style="width:400px;" class="form-control" name="discountName" placeholder="活动名称">
				</div>
				<div class="form-group">
				  <label for="exampleInputPassword3">活动优惠价格</label>
				  <input type="text" style="width:400px;" class="form-control" name="discountPrice" placeholder="活动优惠">
				</div>
				<button type="submit" style="width:100px;" class="btn btn-default">保存</button>
			</form>
	      </div>
	    </div>
	</div>
	</body>
	<script type="text/javascript">
	/**
	 * 登录首界面
	 */
	$(function(){
		
	})
	</script>
</html>
